package com.ctshk.rpc.order.localfun.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.order.localfun.dto.LocalFunOrderCollectionDTO;
import com.ctshk.rpc.order.localfun.req.LocalFunOrderCollectionConfirmationReq;
import com.ctshk.rpc.order.localfun.req.LocalFunOrderCollectionReq;

import java.util.List;

/**
 * <p>
 * 门票收款明细 服务类
 * </p>
 *
 * @author 张志朋
 * @since 2021-02-24
 */
public interface ILocalFunOrderCollectionService {
    /**
     * 订单操作收款记录
     *
     * @param scenicOrderCollectionReq
     * @return ScenicOrderCollectionDTO
     */
    Result<List<LocalFunOrderCollectionDTO>> list(LocalFunOrderCollectionReq scenicOrderCollectionReq);

    /**
     * 订单操作收款记录再次确认
     *
     * @param
     * @return
     */
    Result<Long> confirmation(LocalFunOrderCollectionConfirmationReq scenicOrderCollectionConfirmationReq, TokenUser user);

    /**
     * 驳回收款(财务-内部调用)
     * @param collectionNumber 收款单号
     * @return
     */
    Result rejectPayment(String collectionNumber, Long userId, String msg);
}
